package ywpt.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import ywpt.components.acegi.domain.User;

public class WorkingPlanInfo implements java.io.Serializable {

	/**
	 * 工作计划
	 */
	private static final long serialVersionUID = -3625677154014353313L;
	private   Long id;//Id 
	private   PeopleInfo playUser;//计划人
	private   CommonTable planType;//计划类型
	private   Date beginDate;//开始日期
	private   Date endDate;//End_Date      结束日期
	private   String planWorkDesc;//PlanWork_Desc 计划描述
	private   Double estimateFinishPerc;//Estimate_Finish_Perc     预计完成百分比
	private   int version;//Version.
	private   Boolean submitFlag;
	private   Boolean checkFlag;
	private   PeopleInfo checker; //审核人
	private   Boolean deleteFlag;//Delete_Flag
	private   Date createDate;//Create_Date
	private   User creater;//Creater 
	private   Department depart; //所属部门
	private   Date modifyDate;//Modify_Date 
	private   User modifyer;//Modifyer
	private Set<WorkingPlanDtl> workingPlanDtlSet = new HashSet<WorkingPlanDtl>();
	
	private Set<WorkplanScan> scanSet = new HashSet<WorkplanScan>();
	
	public  WorkingPlanInfo() {
		this.submitFlag=false;
		this.checkFlag=false;
		this.deleteFlag=false;
		this.estimateFinishPerc=0.00;
	}
	
	public Set<WorkingPlanDtl> getWorkingPlanDtlSet() {
		return workingPlanDtlSet;
	}

	public void setWorkingPlanDtlSet(Set<WorkingPlanDtl> workingPlanDtlSet) {
		this.workingPlanDtlSet = workingPlanDtlSet;
	}

	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public PeopleInfo getPlayUser() {
		return playUser;
	}
	public void setPlayUser(PeopleInfo playUser) {
		this.playUser = playUser;
	}
	public CommonTable getPlanType() {
		return planType;
	}
	public void setPlanType(CommonTable planType) {
		this.planType = planType;
	}
	public Date getBeginDate() {
		return beginDate;
	}
	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	public String getPlanWorkDesc() {
		return planWorkDesc;
	}
	public void setPlanWorkDesc(String planWorkDesc) {
		this.planWorkDesc = planWorkDesc;
	}
	public Double getEstimateFinishPerc() {
		return estimateFinishPerc;
	}
	public void setEstimateFinishPerc(Double estimateFinishPerc) {
		this.estimateFinishPerc = estimateFinishPerc;
	}
	public int getVersion() {
		return version;
	}
	public void setVersion(int version) {
		this.version = version;
	}
	public Boolean getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Boolean deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public User getCreater() {
		return creater;
	}
	public void setCreater(User creater) {
		this.creater = creater;
	}
	public Date getModifyDate() {
		return modifyDate;
	}
	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}
	public User getModifyer() {
		return modifyer;
	}
	public void setModifyer(User modifyer) {
		this.modifyer = modifyer;
	}


	public Boolean getCheckFlag() {
		return checkFlag;
	}


	public void setCheckFlag(Boolean checkFlag) {
		this.checkFlag = checkFlag;
	}


	public Department getDepart() {
		return depart;
	}


	public void setDepart(Department depart) {
		this.depart = depart;
	}


	public Boolean getSubmitFlag() {
		return submitFlag;
	}


	public void setSubmitFlag(Boolean submitFlag) {
		this.submitFlag = submitFlag;
	}


	public PeopleInfo getChecker() {
		return checker;
	}


	public void setChecker(PeopleInfo checker) {
		this.checker = checker;
	}

	public Set<WorkplanScan> getScanSet() {
		return scanSet;
	}

	public void setScanSet(Set<WorkplanScan> scanSet) {
		this.scanSet = scanSet;
	}
	
	
}
